#ifndef FPS_H
#define FPS_H

class FPS {
    private:
        FPS();

    public:
        void update();
        unsigned int getFPS();
        static FPS* getInstance();

    private:
        float startTime;
        unsigned int count;
        unsigned int fps;

        static FPS* instance;
};

#endif // FPS_H
